package com.mysql.model;

import java.util.Date;

public class WeiYu {
    private Integer id;

    private Date time;

    private String detail;

    private Integer dznumber;

    private Integer lynumber;

    public WeiYu(Integer id, Date time, String detail, Integer dznumber, Integer lynumber) {
        this.id = id;
        this.time = time;
        this.detail = detail;
        this.dznumber = dznumber;
        this.lynumber = lynumber;
    }

    public WeiYu() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }

    public Integer getDznumber() {
        return dznumber;
    }

    public void setDznumber(Integer dznumber) {
        this.dznumber = dznumber;
    }

    public Integer getLynumber() {
        return lynumber;
    }

    public void setLynumber(Integer lynumber) {
        this.lynumber = lynumber;
    }
}